<import type='css' file="Css.user,Css.main" />
<div class="aw-container-wrap">
  <div class="container">
    <div class="row">
      <div class="aw-content-wrap clearfix">
        <div class="col-sm-12 col-md-9 aw-main-content">
          <!-- 用户数据内容 -->
          <div class="aw-mod aw-user-detail-box">
            <div class="mod-head" >
              <img id="People_touxiang_img" src="<?php echo '__ROOT__/'.$user_res[0]['head_img']?>" alt="ghp2016头像">
              <span class="pull-right operate">
                <a href="">编辑</a></span>
              <h1><?php echo $user_res[0]['username']?></h1>
              <p class="text-color-999"><?php echo $user_res[0]['introduce']?></p>
              <p class="aw-user-flag"></p>
            </div>
            <div class="mod-body">
              <div class="meta">
                <span>
                  <i class="icon icon-prestige"></i>威望 :
                  <em class="aw-text-color-green">0</em></span>
                <span>
                  <i class="icon icon-score"></i>积分 :
                  <em class="aw-text-color-orange">2045</em></span>
                <span>
                  <i class="icon icon-agree"></i>赞同 :
                  <em class="aw-text-color-orange">0</em></span>
                <span>
                  <i class="icon icon-thank"></i>感谢 :
                  <em class="aw-text-color-orange">0</em></span>
              </div>
            </div>
            <div class="mod-footer">
              <ul class="nav nav-tabs aw-nav-tabs">
                <li class="active">
                  <a href="http://nuke.cgspread.com/#overview" id="page_overview" data-toggle="tab">概述</a></li>
                <li>
                  <a href="http://nuke.cgspread.com/#questions" id="page_questions" data-toggle="tab">发问
                    <span class="badge">1</span></a>
                </li>
                <li>
                  <a href="http://nuke.cgspread.com/#answers" id="page_answers" data-toggle="tab">回复
                    <span class="badge">1</span></a>
                </li>
                <li>
                  <a href="http://nuke.cgspread.com/#articles" id="page_articles" data-toggle="tab">文章</a></li>
                <li>
                  <a href="http://nuke.cgspread.com/#focus" id="page_focus" data-toggle="tab">关注</a></li>
                <li>
                  <a href="http://nuke.cgspread.com/#actions" id="page_actions" data-toggle="tab">动态</a></li>
                <li>
                  <a href="http://nuke.cgspread.com/#detail" id="page_detail" data-toggle="tab">详细资料</a></li>
                <li>
                  <a href="http://nuke.cgspread.com/#integral" id="page_integral" data-toggle="tab">我的积分</a></li>
              </ul>
            </div>
          </div>
          <!-- end 用户数据内容 -->
          <div class="aw-user-center-tab">
            <div class="tab-content">
              <div class="tab-pane active" id="overview">
                  <!-- 回复 -->
                  <div class="aw-mod">
                    <div class="mod-head">
                      <h3>
                        <a class="pull-right aw-more-content" href="javascript:;" onclick="$(&#39;#page_answers&#39;).click();">更多 »</a>回复</h3></div>
                    <div class="mod-body">
                      <div class="aw-profile-answer-list">
                        <div class="aw-item">
                          <div class="mod-head">
                            <h4>
                              <a href="http://nuke.cgspread.com/question/220"><?php echo $question_answer_res[0]['title']?></a></h4>
                          </div>
                          <div class="mod-body">
                            <span class="aw-border-radius-5 count pull-left">
                              <i class="icon icon-agree"></i>0</span>
                            <p class="aw-hide-txt"><?php echo $question_answer_res[0]['centent']?></p></div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <!-- end 回复 -->

                
                <!-- 发问 -->
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>
                      <a class="pull-right aw-more-content" href="javascript:;" onclick="$(&#39;#page_questions&#39;).click();">更多 »</a>发问</h3></div>
                  <div class="mod-body">
                    <div class="aw-profile-publish-list">
                      <div class="aw-item">
                        <div class="mod-head">
                          <h4>
                            <a href="http://nuke.cgspread.com/question/215"><?php echo $question_res[0]['title']?></a></h4>
                        </div>
                        <div class="mod-body">
                          <span class="aw-border-radius-5 count pull-left">
                            <i class="icon icon-reply"></i>0</span>
                          <p class="aw-hide-txt"><?php echo $question_res[0]['view']?> 次浏览 &nbsp;• 2 个关注 &nbsp; • <?php echo date('Y-m-d H:i:s',$question_res[0]['time'])?></p></div>
                      </div>
                    </div>
                  </div>
                </div>
                <!-- end 发问 -->
                
                <!-- 最新动态 -->
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>
                      <a class="pull-right aw-more-content" href="javascript:;" onclick="$(&#39;#page_actions&#39;).click();">更多 »</a>动态</h3></div>
                  <div class="mod-body">
                    <ul>
                      <li>
                        <p>
                          <span class="pull-right text-color-999">2 天前</span>
                          <em class="pull-left">
                            <a href="http://nuke.cgspread.com/people/758" class="aw-user-name" data-id="758">ghp2016</a>回答了问题,</em>
                          <a class="aw-hide-txt" href="http://nuke.cgspread.com/question/220">请问视频中这种跟踪摄像机的合成方式是不是用nuke制作的</a></p>
                      </li>
                    </ul>
                  </div>
                </div>
              </div>



              <div class="tab-pane" id="questions">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>发问</h3></div>
                  <div class="mod-body">
                    <div class="aw-profile-publish-list" id="contents_user_actions_questions">
                      <div class="aw-item">
                        <div class="aw-mod">
                          <div class="mod-head">
                            <h4 class="aw-hide-txt">
                              <a href="http://nuke.cgspread.com/question/215"><?php echo $question_res[0]['title']?></a></h4>
                          </div>
                          <div class="mod-body">
                            <span class="aw-border-radius-5 count pull-left">
                              <i class="icon icon-reply"></i>0</span>
                            <p class="text-color-999"><?php echo $question_res[0]['view']?> 次浏览 • 2 个关注 • <?php echo date('Y-m-d H:i:s',$question_res[0]['time'])?></p></div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="mod-footer">
                    <!-- 加载更多内容 -->
                    <a class="aw-load-more-content" id="bp_user_actions_questions_more" data-page="1">
                      <span>更多</span></a>
                    <!-- end 加载更多内容 --></div>
                </div>
              </div>


              
              <div class="tab-pane" id="answers">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>回复</h3></div>
                  <div class="mod-body">
                    <div class="aw-profile-answer-list" id="contents_user_actions_answers">
                      <div class="aw-item">
                        <div class="aw-mod">
                          <div class="mod-head">
                            <h4 class="aw-hide-txt">
                              <a href="http://nuke.cgspread.com/question/220"><?php echo $question_answer_res[0]['title']?></a></h4>
                          </div>
                          <div class="mod-body">
                            <span class="aw-border-radius-5 count pull-left">
                              <i class="icon icon-agree"></i>0</span>
                            <p class="text-color-999"><?php echo $question_answer_res[0]['centent']?></p>
                            <p class="text-color-999">2 天前</p></div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="mod-footer">
                    <!-- 加载更多内容 -->
                    <a class="aw-load-more-content" id="bp_user_actions_answers_more" data-page="1">
                      <span>更多</span></a>
                    <!-- end 加载更多内容 --></div>
                </div>
              </div>
              <div class="tab-pane" id="articles">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>文章</h3></div>
                  <div class="mod-body">
                    <div class="aw-profile-publish-list" id="contents_user_actions_articles">
                      <p style="padding: 15px 0" align="center">没有内容</p></div>
                  </div>
                  <div class="mod-footer">
                    <!-- 加载更多内容 -->
                    <a class="aw-load-more-content disabled" id="bp_user_actions_articles_more" data-page="0">
                      <span>没有更多了</span></a>
                    <!-- end 加载更多内容 --></div>
                </div>
              </div>
              <div class="tab-pane" id="focus">
                <!-- 自定义切换 -->
                <div class="aw-mod">
                  <div class="aw-tabs text-center">
                    <ul>
                      <li class="active">
                        <a>关注的人</a>
                      </li>
                      <li>
                        <a>关注者</a>
                      </li>
                      <li>
                        <a>关注的话题</a>
                      </li>
                    </ul>
                  </div>
                  <div class="mod-body">
                    <div class="aw-tab-content">
                      <div class="aw-mod aw-user-center-follow-mod">
                        <div class="mod-body">
                          <ul id="contents_user_follows" class="clearfix">
                            <li>
                              <div class="mod-head">
                                <a class="aw-user-img pull-left aw-border-radius-5" data-id="1" href="http://nuke.cgspread.com/people/weijer">
                                  <img src="./ghp2016 的个人主页 - Nuke中文社区_files/01_avatar_mid.jpg" alt="weijer"></a>
                                <p>
                                  <a href="http://nuke.cgspread.com/people/weijer">weijer</a></p>
                              </div>
                              <div class="mod-body">
                                <p class="text-color-999 aw-hide-txt">社区管理员、cgspread站长</p></div>
                              <div class="mod-footer meta">
                                <span>
                                  <i class="icon icon-prestige"></i>威望
                                  <em class="aw-text-color-green">38</em></span>
                                <span>
                                  <i class="icon icon-agree"></i>赞同
                                  <em class="aw-text-color-orange">46</em></span>
                                <!-- <span><i class="icon icon-thank"></i>感谢 <em class="aw-text-color-orange">6</em></span> --></div>
                            </li>
                          </ul>
                        </div>
                        <div class="mod-footer">
                          <!-- 加载更多内容 -->
                          <a class="aw-load-more-content" id="bp_user_follows_more" data-page="1">
                            <span>更多</span></a>
                          <!-- end 加载更多内容 --></div>
                      </div>
                      <div class="aw-mod aw-user-center-follow-mod hide">
                        <div class="mod-body">
                          <ul class="clearfix" id="contents_user_fans">
                            <li>
                              <div class="mod-head">
                                <a class="aw-user-img pull-left aw-border-radius-5" data-id="759" href="http://nuke.cgspread.com/people/ltf">
                                  <img src="./ghp2016 的个人主页 - Nuke中文社区_files/59_avatar_mid.jpg" alt="思已不在"></a>
                                <p>
                                  <a href="http://nuke.cgspread.com/people/ltf">思已不在</a></p>
                              </div>
                              <div class="mod-body">
                                <p class="text-color-999 aw-hide-txt"></p>
                              </div>
                              <div class="mod-footer meta">
                                <span>
                                  <i class="icon icon-prestige"></i>威望
                                  <em class="aw-text-color-green">0</em></span>
                                <span>
                                  <i class="icon icon-agree"></i>赞同
                                  <em class="aw-text-color-orange">0</em></span>
                                <!-- <span><i class="icon icon-thank"></i>感谢 <em class="aw-text-color-orange">0</em></span> --></div>
                            </li>
                          </ul>
                        </div>
                        <div class="mod-footer">
                          <!-- 加载更多内容 -->
                          <a class="aw-load-more-content" id="bp_user_fans_more" data-page="1">
                            <span>更多</span></a>
                          <!-- end 加载更多内容 --></div>
                      </div>
                      <div class="aw-mod aw-user-center-follow-mod hide">
                        <div class="mod-body">
                          <ul id="contents_user_topics" class="clearfix">
                            <p style="padding: 15px 0" align="center">没有内容</p></ul>
                        </div>
                        <div class="mod-footer">
                          <!-- 加载更多内容 -->
                          <a class="aw-load-more-content disabled" id="bp_user_topics_more" data-page="0">
                            <span>没有更多了</span></a>
                          <!-- end 加载更多内容 --></div>
                      </div>
                    </div>
                  </div>
                </div>               
                <!-- end 自定义切换 --></div>

     
          
              <div class="tab-pane" id="actions">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>最新动态</h3></div>
                  <div class="mod-body">
        <?php foreach ($Dynamic_res as $key => $value) { ?>          
                    <div id="contents_user_actions">
              <?php if($value['send_replay_question']=="回答了问题"){?>  
                      <div class="aw-item">
                        <p>
                          <span class="pull-right text-color-999">2 天前</span>
                          <em class="pull-left">
                            <a href="http://nuke.cgspread.com/people/758" class="aw-user-name" data-id="758"><?php echo $value['username']?></a><?php echo $value['send_replay_question']?></em>
                          <a class="aw-hide-txt" href="http://nuke.cgspread.com/question/220"><?php echo $value['title']?></a></p>
                      </div>
              <?php }elseif($value['send_replay_question']=="发布了问题") { ?>
                      <div class="aw-item">
                        <p>
                          <span class="pull-right text-color-999"><?php echo $value['time']?></span>
                          <em class="pull-left">
                            <a href="http://nuke.cgspread.com/people/758" class="aw-user-name" data-id="758"><?php echo $value['username']?></a><?php echo $value['send_replay_question']?>:</em>
                          <a class="aw-hide-txt" href="http://nuke.cgspread.com/question/215"><?php echo $value['title']?></a></p>
                      </div>
              <?php } ?>
                    </div>
          <?php } ?>
                  </div>
                  <div class="mod-footer">
                    <!-- 加载更多内容 -->
                    <a class="aw-load-more-content" id="bp_user_actions_more" data-page="1">
                      <span>更多</span></a>
                    <!-- end 加载更多内容 --></div>
                </div>
              </div>
           


              <div class="tab-pane" id="detail">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>详细资料</h3></div>
                  <div class="mod-body aw-user-center-details">
                    <dl>
                      <dt>
                        <span>个人成就:</span></dt>
                      <dd>
                        <p class="meta">
                          <span>
                            <i class="icon icon-prestige"></i>威望:
                            <em class="aw-text-color-green">0</em></span>
                          <span>
                            <i class="icon icon-score"></i>积分:
                            <em class="aw-text-color-orange">2045</em></span>
                          <span>
                            <i class="icon icon-agree"></i>赞同:
                            <em class="aw-text-color-orange">0</em></span>
                          <span>
                            <i class="icon icon-thank"></i>感谢:
                            <em class="aw-text-color-orange">0</em></span>
                        </p>
                      </dd>
                    </dl>
                    <dl>
                      <dt>
                        <span>最后活跃:</span></dt>
                      <dd>17 秒前</dd></dl>
                  </div>
                </div>
              </div>
              <div class="tab-pane" id="integral">
                <div class="aw-mod">
                  <div class="mod-head">
                    <h3>
                      <i class="icon icon-point"></i>我的积分</h3>
                  </div>
                  <div class="mod-body">
                    <table class="table table-hover aw-table">
                      <thead>
                        <tr class="info">
                          <th width="14%">时间</th>
                          <th width="8%">数额</th>
                          <th width="8%">余额</th>
                          <th width="17%">描述</th>
                          <th width="40%">相关信息</th></tr>
                      </thead>
                      <tbody id="contents_user_integral">
                        <tr>
                          <td>2 天前</td>
                          <td>
                            <span class="">-5</span></td>
                          <td>2045</td>
                          <td>回答问题 #220</td>
                          <td>
                            <p>
                              <a href="http://nuke.cgspread.com/question/220">问题: 请问视频中这种跟踪摄像机的合成方式是不是用nuke制作的</a></p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-30</td>
                          <td>
                            <span class="aw-text-color-orange">5</span></td>
                          <td>2050</td>
                          <td>问题被回答 #215</td>
                          <td>
                            <p>
                              <a href="http://nuke.cgspread.com/question/215">问题: nuke的flipbook怎么能直接读原素材？</a></p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-30</td>
                          <td>
                            <span class="aw-text-color-orange">5</span></td>
                          <td>2045</td>
                          <td>问题被回答 #215</td>
                          <td>
                            <p>
                              <a href="http://nuke.cgspread.com/question/215">问题: nuke的flipbook怎么能直接读原素材？</a></p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-30</td>
                          <td>
                            <span class="aw-text-color-orange">5</span></td>
                          <td>2040</td>
                          <td>问题被回答 #215</td>
                          <td>
                            <p>
                              <a href="http://nuke.cgspread.com/question/215">问题: nuke的flipbook怎么能直接读原素材？</a></p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-30</td>
                          <td>
                            <span class="aw-text-color-orange">5</span></td>
                          <td>2035</td>
                          <td>问题被回答 #215</td>
                          <td>
                            <p>
                              <a href="http://nuke.cgspread.com/question/215">问题: nuke的flipbook怎么能直接读原素材？</a></p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-30</td>
                          <td>
                            <span class="">-20</span></td>
                          <td>2030</td>
                          <td>发起问题 #215</td>
                          <td>
                            <p>-</p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-25</td>
                          <td>
                            <span class="aw-text-color-orange">10</span></td>
                          <td>2050</td>
                          <td>问题被感谢 #214</td>
                          <td>
                            <p>-</p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-24</td>
                          <td>
                            <span class="aw-text-color-orange">10</span></td>
                          <td>2040</td>
                          <td>问题被感谢 #214</td>
                          <td>
                            <p>-</p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-24</td>
                          <td>
                            <span class="aw-text-color-orange">5</span></td>
                          <td>2030</td>
                          <td>问题被回答 #214</td>
                          <td>
                            <p>-</p>
                          </td>
                        </tr>
                        <tr>
                          <td>2016-04-24</td>
                          <td>
                            <span class="aw-text-color-orange">10</span></td>
                          <td>2025</td>
                          <td>问题被感谢 #214</td>
                          <td>
                            <p>-</p>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </div>
                  <div class="mod-footer">
                    <!-- 加载更多内容 -->
                    <a class="aw-load-more-content" id="bp_user_integral" data-page="1">
                      <span>更多</span></a>
                    <!-- end 加载更多内容 --></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 侧边栏 -->
        <div class="col-sm-12 col-md-3 aw-side-bar">
          <div class="aw-mod people-following">
            <div class="mod-body">
              <a onclick="$(&#39;#page_focus&#39;).click();$(&#39;#focus .aw-tabs ul li&#39;).eq(0).click();$.scrollTo($(&#39;#focus&#39;).offset()[&#39;top&#39;], 600, {queue:true})" class="pull-right font-size-12">更多 »</a>
              <span>关注
                <em class="aw-text-color-blue">1</em>人</span>
              <p>
                <a class="aw-user-name" data-id="1" href="http://nuke.cgspread.com/people/weijer">
                  <img src="./ghp2016 的个人主页 - Nuke中文社区_files/01_avatar_mid.jpg" alt="weijer"></a>
              </p>
            </div>
          </div>
          <div class="aw-mod people-following">
            <div class="mod-body">
              <a onclick="$(&#39;#page_focus&#39;).click();$(&#39;#focus .aw-tabs ul li&#39;).eq(1).click();$.scrollTo($(&#39;#focus&#39;).offset()[&#39;top&#39;], 600, {queue:true})" class="pull-right font-size-12">更多 »</a>
              <span>被
                <em class="aw-text-color-blue">1</em>人关注</span>
              <p>
                <a class="aw-user-name" data-id="759" href="http://nuke.cgspread.com/people/ltf">
                  <img src="./ghp2016 的个人主页 - Nuke中文社区_files/59_avatar_mid.jpg" alt="思已不在"></a>
              </p>
            </div>
          </div>
          <div class="aw-mod people-following">
            <div class="mod-body">关注
              <em class="aw-text-color-blue">0</em>话题</div></div>
          <div class="aw-mod">
            <div class="mod-body">
              <span class="aw-text-color-666">主页访问量 : <?php echo $page_res['view']?>次访问</span></div>
          </div>
        </div>
        <!-- end 侧边栏 --></div>
    </div>
  </div>
</div>

<script type="text/javascript">
var PEOPLE_USER_ID = '758';
  var ACTIVITY_ACTIONS = '101,201,105,204,401,406,501,502,503';
  </script>
<import type="js" file="Js.people,Js.h"/>
</body>

</html>